home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
develop, the CD; issue 1
/
Apple_Develop_1989.bin
/
Compatibility
/
Printing
/
showpage info
< prev
Wrap
Text File
|
1989-11-30
|
1KB
|
29 lines
Date 11/30/89
Topic guess...
From Scott 'ZZ' Zimmerman
To Dave Radcliffe
Subject: Time: 2:15 PM
OFFICE MEMO guess... Date: 11/30/89
When I print a PostScript file, why do I get one blank page for every page
printed?
Your PostScript file probably contains calls to the PostScript 'showpage'
operator. This operator is also called by the LaserWriter driver when it
receives the PrClosePage call. The solution to this problem is to strip
'showpage' calls from the file before sending it to the LaserWriter. If
you send one Quickdraw graphic at the beginning of each page,
(ie. MoveTo(-32000, -32000); Line(0, 0);)
the LaserWriter driver will handle calling showpage for you. Versions of
the LaserWriter driver before 5.2 do not send the 'showpage' operator
unless a Quickdraw drawing routine (ie. something other than PicComment) is
sent. This is why you need to do the MoveTo/LineTo. Versions 5.2 and
later will send the 'showpage' operator whether any Quickdraw has been sent
or not. Since you can't be sure whether showpage will be sent for you or
not, the best solution is to always let the LaserWriter driver send it.